package com.weibo.service;

import java.util.List;

import com.weibo.pojo.Attention;
import com.weibo.pojo.User;
import com.weibo.util.InputException;

public interface UserService {

	public int update(User user);
	
	public User show(int userId);
	
	public User login(String inputUsername, String inputPassword) throws InputException;
	
	public User register(User user) throws InputException;
	
	public List<User> listUser(User uLogin, Attention attention);
}
